(function (global, factory) {
  var lang = factory();
  if (global) {
    if (!global.Locale) {
      global.Locale = {};
    }
    global.Locale.en = lang;
  } else {
    Locale.en = lang;
  }
})(this, function (module, exports) {
  'use strict';
  return {
    'el': ELEMENT.lang.en.el,
    reqCode: {
      201: 'The request failed, please try again later!',
      210: 'The request failed, please try again later!',
      202: 'Session timeout, please login in again！',
      303: 'Data Exception!',
      401: 'Session timeout, please login in again！',
      403: 'Session timeout, please login in again！',
      520: 'Failed to Get node executable!',
      650: 'Failed to Startup process!',
      651: 'Failed to Complete the Task!',
      652: 'Failed to Get node executable!',
      653: 'The current task has been completed',
      404: 'Not Found the Url',
      1004: 'Function error, please try again later!',
      11010007: 'Failed to Query Ship To Tax Rate!',
      11010003: 'The order status is abnormal, please wait for the reply of the order!',
      11010004: 'Query client failed or query client cannot be empty!',
      11010008: 'Sale\'s ERP Deartment is Empty！',
      11010005: 'Failed to query RBP price or RBP Price Data is Empty!',
      11010006: 'Please set the price first!',
      11010009: 'The same order process already exists!',
      11010011: 'Failed to Copy Order Base Info',
      11010012: 'Failed to Copy Order Base Info, Save Order status',
      11010013: 'Order Cancelled!',
      11010014: 'Failed to Save Order Line ',
      11010015: 'Failed to Save Order Line Status ',
      11010016: 'Order Approval!',
      11010017: 'Modify Order Status Was Failure!',
      11010018: 'Modify Order Line Status Was Failure!',
      11010022: 'The Order synchronizing!',
      11010024: 'Divide Order Status must be [Entered,Refuse,Approved,Sync ERP Failure]!',
      11010027: 'Failed to Divide Order Save Order Base Info',
      11010028: 'Failed to Divide Order Save Order',
      11010029: 'No warehouse permission!',
      11010030: 'The Order Line is Cancelled Or Deleted!',
      11010031: 'The Order Line is split!',
      11010032: 'Only sales order can be split!',
      11010033: 'The order has been shipped!',
      11010034: 'It has been pushed to EDI!',
      11010035: 'Check subinventory,query shipper receive relation is empty',
      11010036: 'Failed to Request check user',
      11010037: 'This user does not exist in ERP!',
      11010038: 'Failed to Request check bill',
      11010040: 'Failed to Request check ship',
      11010042: 'Failed to Request check customer',
      11010044: 'The uploaded file data is parsed as empty!',
      11010050: 'Data unchanged!',
      11010051: 'Failed to Sync ERP',
      11010052: 'Please upload the original PO file of the customer.',
      11010053: 'Cancel line data is empty!',
      11010054: 'Please select customer price list.',
      11010055: 'Since the shipper is GB Micro, the base information\'s Request Ship Date cannot be null.',
      11010057: 'Basic information and order line\'s MABD Or Request Ship Date need to be consistent！',
      11010058: 'Base information\'s Request Ship Date need be null.',
      11010059: 'Base information\'s MABD Or Request Ship Date cannot be null.'
    },
    error: 'Error',
    success: 'success',
    uploadErr: 'File Upload Failure',
    home: {
      title: 'I\'m home'
    },
    common: {// 公共模块
      upload: { // 上传组件
        tip: 'Drag files here, or <em>click upload</em>',
        desc: 'Only .{0} files that are under {1}MB can be uploaded.',
        desc2: 'Any file that are under {0}MB can be uploaded.',
        fileEmpty: 'Please select file.',
        error: {
          filesize: 'Upload file size cannot exceed {0}MB!',
          fileLength: 'The current limit selects {0} files, please delete the files in the list first, then select upload files',
          fileError: 'File upload error, please refresh and try again',
          fileNameLength: 'Filename is too long, please rename and upload again'
        }
      },
      enable: 'Enable',
      disable: 'Disable',
      pleaseSelect: 'Please select',
      pleaseInput: 'Please Input'
    },
    menus: {
      Home: 'Home',
      Pricing: 'Price',
      Setting: 'Setting',
      Customer_Pricing: 'Customer Price',
      RBP_Pricing: 'RBP Price',
      Price_List: 'Price List',
      RBP_Type: 'RBP Price List',
      Customer_Price_Type: 'Customer Price List',
      Price_Protection: 'Price Protection',
      Protection_List: 'Protection List',
      Backlogs: 'Backlogs',
      Pricing_Query: 'Price Query',
      Program_Apply: 'Program Apply',
      Program_List: 'Program List',
      Marketing_Fund: 'Marketing Fund',
      Marketing_Fund_Apply: 'Marketing Fund Apply',
      Marketing_List: 'Marketing Fund List',
      Product: 'Product List',
      Logs: 'Logs List',
      Pricing_Setting: 'Price Settings',
      Setting_Price: 'Setting Price',
      System: 'System',
      Pricing_Query_Sales_Operation: 'Pricing Query(Sales Operation)',
      Demo: 'Demo',
      Promotion: 'Promotion',
      Promotion_Apply: 'Promotion Apply',
      Promotion_List: 'Promotion List',
      Basic_Data_Maintenance: 'Basic Data Maintenance',
      Order: 'Order',
      Order_Home: 'Order Home',
      Order_Board: 'Order Board',
      Create_Order: 'Create Order',
      View_Order: 'View Order',
      Item_Board: 'Item Board',
      Inquiry_Order: 'Inquiry Order',
      Inquiry_Order_List: 'Inquiry Order List',
      Reply_Board: 'Reply Board',
      Delivery_Board: 'Delivery Board',
      AR: 'AR',
      AR_List: 'AR List',
      Sample_Request: 'Sample Request',
      Sample_Report: 'Sample Report',
      Material_Inquiry: 'Material Inquiry',

      RMA: 'RMA',
      '公告管理': '公告管理',
      '公告列表': '公告列表',
      'QA管理': 'QA管理',
      'QA列表': 'QA列表',
      'RMA流程管理': 'RMA流程管理',
      'RMA流程管理列表': 'RMA流程管理列表',
      'RMA管理': 'RMA管理',
      'RMA申请列表': 'RMA申请列表',
      '账户管理': '账户管理',
      '用户列表': '用户列表',
      '角色列表': '角色列表',
      '客户管理': '客户管理',
      '客户列表': '客户列表',
      '系统管理': '系统管理',
      '区域列表': '区域列表',
      'CALL_CENTER设置列表': 'CALL CENTER设置列表',
      '通用物料设置列表': '通用物料设置列表',
      'RMA原因设置列表': 'RMA原因设置列表',
      'RMA退货设置列表': 'RMA退货设置列表',
      'RMA_CENTER设置列表': 'RMA CENTER设置列表',
      '用户父类型列表': '用户父类型列表',
      '用户子类型列表': '用户子类型列表',
      '产品管理': '产品管理',
      '追溯码查询': '追溯码查询',

      '终端客户': '终端客户',
      '首页(LST)': '首页',
      '客户列表(LST)': '客户列表',
      '审批列表(LST)': '审批列表',
      '促销设置(LST)': '促销设置',
      '地区及等级设置(LST)': '地区及等级设置',
      '产品基准佣金设置(LST)': '产品基准佣金设置',
      '等级设置(LST)': '等级设置'

    },
    settingPrice: {
      uploadTip: 'upload file max',
      click: 'click',
      dragUpload: 'Drag file upload,',
      rbpNameReq: 'Please Select Rbp Name',
      CustomerNameReq: 'Please Select Customer Name',
      endDateReq: 'Please Select EndDate',
      fileReq: 'Please Choose File',
      excelSuffix: 'You can only upload Excel,The suffix is .xlsx|.xls',
      importSuccess: 'Import Success',
      saveRBPFail: 'Failed to Save Row line {0} Data, please try again later!',
      exportFail: 'Failed to export ,please try again later!',
      emptySubmit: 'Please import {0} first.',
      emptyReviewComments: 'Please Enter Review comments',
      sumitNote: 'When update price (batch upload or individual add), the system will take \'end date\' from the last updated approved as effective end date for all items in price list.',
      submitRepeat: 'Repeat Item, please confirm the unique value: {0}',
      customer: {
        301: 'Please Edit RBP Data First！',
        300: 'Import Excel Data is Empty！',
        500: 'The data is under approval!'
      },
      rbp: {
        300: 'Import Excel Data is Empty！',
        500: 'Data Already in Approval！',
        620: 'Failed to parse excel.'
      }
    },
    PricingProtection: {
      upload: {
        warn: 'warning',
        fileSizeTip: 'Upload file size cannot exceed ',
        fileType: 'The suffix for uploaded files can only be XLSX, XLS'

      },
      customer: 'Please Select Customer',
      dragUpload: 'drag file to upload,',
      click: 'click',
      pn: 'please Select PN',
      endDateReq: 'Please Select EndDate',
      fileReq: 'Please Select File',
      downTemplate: 'Down Template'
    },
    OrderH: {
      copyOrderSuccess: 'Successfully Copy Order,New order number:{0}',
      splitOrderSuccess: 'Successfully Divide Order,New order number:{0}',
      uploadAttr: 'Please upload the original PO file of the customer.'
    },
    // 询单模块
    inquiryOrder: {
      100001: 'Do you want to change to Standard Order/Cancel?',
      100002: 'Transfer Formal Order Sucessful!',
      // 100003:"You must selected one or more lines to cancel the standard order!",
      100003: 'You need to select one or more lines to transfer the standard order.',
      100004: 'You must selected one or more lines to transfer the standard order!',
      100005: 'Unreplied inquiryOrder can not be transferred the standard order!',
      // 100006:"InquiryOrder transferred the standard order must be same customer and organization and inquiryOrderNumber!",
      100006: 'Only in one Inquiry Order can the standard order be transferred.',
      // 100007:"Seleted Data Contains Formal Order!",
      100007: 'Seleted data contains standard order.',
      100008: 'Save Successful!',
      100009: 'Submit Successful!',
      100010: 'please select the required items!',
      100011: 'please select data to delete!',
      100012: 'Lexar Pn Cannot Find The Corresponding Customer Price In The Customer Pricing Table',
      100013: 'Do you want to submit for Inquiry Order?'
    },
    ar: {
      100001: 'Please choose an organization!',
      100002: 'Please enter at least one condition except organization to search!',
      100003: 'Please choose an organization!',
      100004: 'Please enter at least one condition except organization to search!',
      100005: 'the file down falied!',
      100006: 'Parameter error!',
      100007: 'Push Invoice Details To Edi Successful!'
    }
  };
});
